aboutsummaryrefslogtreecommitdiff
path: root/Source/Decals.cpp
diff options
context:
space:
mode:
authorrelnev <relnev@5198baeb-e213-0410-be47-fc2ff85ca46f>2003-01-08 13:03:38 +0000
committerrelnev <relnev@5198baeb-e213-0410-be47-fc2ff85ca46f>2003-01-08 13:03:38 +0000
commit55e638b22eccb89c9ff026fb8ba0801957ad1a42 (patch)
tree24fb983ea6d6a696435ae5a0492d348ece3aaf93 /Source/Decals.cpp
parent6ce9f5135f84b2e09fd58bce31d1cee946bb462f (diff)
downloadblackshades-55e638b22eccb89c9ff026fb8ba0801957ad1a42.tar.gz
minor cleanups
git-svn-id: svn://svn.icculus.org/blackshades/trunk@50 5198baeb-e213-0410-be47-fc2ff85ca46f
Diffstat (limited to 'Source/Decals.cpp')
-rw-r--r--Source/Decals.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Decals.cpp b/Source/Decals.cpp
index 075f69b..612b89c 100644
--- a/Source/Decals.cpp
+++ b/Source/Decals.cpp
@@ -254,6 +254,8 @@ int Decals::MakeDecal(int atype, XYZ location, float size, XYZ normal, int poly,
type[howmanydecals]=atype;
alivetime[howmanydecals]=0;
if(howmanydecals<maxdecals){howmanydecals++;}
+
+ return 0;
}
int Decals::DeleteDecal(int which){
@@ -268,6 +270,8 @@ int Decals::DeleteDecal(int which){
}
if(howmanydecals>0){howmanydecals--;}
}
+
+ return 0;
}
void Decals::LoadBulletHoleTexture(char *fileName)