diff options
| author | Johan Althoff <teetow@gmail.com> | 2007-07-13 21:22:45 +0000 |
|---|---|---|
| committer | Johan Althoff <teetow@gmail.com> | 2007-07-13 21:22:45 +0000 |
| commit | 519e644a6258b06ac1836b5da0a575205dd0dbea (patch) | |
| tree | bc6bb21fa308adc82e707917e0824ca565c8d9d8 /src/game/server | |
| parent | 64d55a22ee74f06738715858d2f88988b046ead0 (diff) | |
| download | zcatch-519e644a6258b06ac1836b5da0a575205dd0dbea.tar.gz zcatch-519e644a6258b06ac1836b5da0a575205dd0dbea.zip | |
fixed various warnings on windows
Diffstat (limited to 'src/game/server')
| -rw-r--r-- | src/game/server/game_server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/server/game_server.cpp b/src/game/server/game_server.cpp index 88cbb471..f86b56af 100644 --- a/src/game/server/game_server.cpp +++ b/src/game/server/game_server.cpp @@ -516,7 +516,7 @@ public: if(num) { mapres_spawnpoint *sp = (mapres_spawnpoint*)map_get_item(start + (rand()%num), NULL, NULL); - pos = vec2(sp->x, sp->y); + pos = vec2((float)sp->x, (float)sp->y); } else pos = vec2(100.0f, -60.0f); |