From f8f45500beb610dc030a6deb437d7ec8f89e5bf1 Mon Sep 17 00:00:00 2001 From: driAn Date: Wed, 26 Apr 2006 17:22:01 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@263 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/entities.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/src/entities.cpp b/source/src/entities.cpp index dcb2f387..1460e177 100644 --- a/source/src/entities.cpp +++ b/source/src/entities.cpp @@ -38,14 +38,14 @@ void renderentities() sprintf_sd(path)("pickups/flags/small_%s", rb_team_string(e.attr2)); mapmodelinfo mmi = {10, 4, 0, 0, path}; if(!&mmi) continue; - rendermodel(mmi.name, 0, 7, 0, 0, f.thief->o.x, f.thief->o.z+0.3f+(sin(lastmillis/100.0f)+1)/10, f.thief->o.y, lastmillis/2.5f, 0, false, 1.0f, 120.0f, mmi.snap); + rendermodel(mmi.name, 0, 1, 0, 0, f.thief->o.x, f.thief->o.z+0.3f+(sin(lastmillis/100.0f)+1)/10, f.thief->o.y, lastmillis/2.5f, 0, false, 1.0f, 120.0f, mmi.snap); } else { sprintf_sd(path)("pickups/flags/%s", rb_team_string(e.attr2)); mapmodelinfo mmi = {10, 4, 0, 0, path}; if(!&mmi) continue; - rendermodel(mmi.name, 0, 1, 0, (float)mmi.rad, e.x, f.state==CTFF_INBASE ? (float)S(e.x, e.y)->floor : e.z, e.y, (float)((e.attr1+7)-(e.attr1+7)%15), 0, false, 1.0f, 120.0f, mmi.snap); + rendermodel(mmi.name, 0, 7, 0, (float)mmi.rad, e.x, f.state==CTFF_INBASE ? (float)S(e.x, e.y)->floor : e.z, e.y, (float)((e.attr1+7)-(e.attr1+7)%15), 0, false, 1.0f, 120.0f, mmi.snap); }; } else