spectator mode fixes

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1473 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2007-12-23 10:29:21 +00:00
parent ef008c0646
commit 284572e8f3
5 changed files with 11 additions and 3 deletions
+2
View File
@@ -246,6 +246,7 @@ bool cmpf(char *fn, enet_uint32 c)
void endianswap(void *memory, int stride, int length) // little endian as storage format
{
#ifdef SDL_BYTEORDER
#if SDL_BYTEORDER == SDL_BIG_ENDIAN
loop(w, length) loop(i, stride/2)
{
@@ -255,4 +256,5 @@ void endianswap(void *memory, int stride, int length) // little endian as stor
p[stride-i-1] = t;
}
#endif
#endif
}