From 6fbd9160858fd98c97c2853f4f151d958361ec42 Mon Sep 17 00:00:00 2001 From: flowtron Date: Sat, 9 Oct 2010 20:24:11 +0000 Subject: [PATCH] fix a fixme comment git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5731 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/server.cpp | 2 +- source/src/weapon.cpp | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/source/src/server.cpp b/source/src/server.cpp index 127bda1e..002f9941 100644 --- a/source/src/server.cpp +++ b/source/src/server.cpp @@ -2878,7 +2878,7 @@ void process(ENetPacket *packet, int sender, int chan) break; } - case SV_EXPLODE: + case SV_EXPLODE: // Brahma says: FIXME handle explosion by location and deal damage from server { gameevent &exp = cl->addevent(); exp.type = GE_EXPLODE; diff --git a/source/src/weapon.cpp b/source/src/weapon.cpp index ff1271eb..deed66da 100644 --- a/source/src/weapon.cpp +++ b/source/src/weapon.cpp @@ -828,8 +828,7 @@ void grenadeent::explode() hits.setsize(0); splash(); if(local) - addmsg(SV_EXPLODE, "ri3iv", lastmillis, GUN_GRENADE, millis, // fixme - hits.length(), hits.length()*sizeof(hitmsg)/sizeof(int), hits.getbuf()); + addmsg(SV_EXPLODE, "ri3iv", lastmillis, GUN_GRENADE, millis, hits.length(), hits.length()*sizeof(hitmsg)/sizeof(int), hits.getbuf()); audiomgr.playsound(S_FEXPLODE, &o); }