aboutsummaryrefslogtreecommitdiff
path: root/Source/Decals.cpp
diff options
context:
space:
mode:
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)