Skip to content

Instantly share code, notes, and snippets.

@PilzAdam
Created February 9, 2013 14:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PilzAdam/4745506 to your computer and use it in GitHub Desktop.
Save PilzAdam/4745506 to your computer and use it in GitHub Desktop.
diff --git a/src/nodedef.cpp b/src/nodedef.cpp
index 560c609..92c1d9d 100644
--- a/src/nodedef.cpp
+++ b/src/nodedef.cpp
@@ -678,6 +678,8 @@ class CNodeDefManager: public IWritableNodeDefManager
f->special_tiles[j].material_flags = 0;
if(f->tiledef_special[j].backface_culling)
f->special_tiles[j].material_flags |= MATERIAL_FLAG_BACKFACE_CULLING;
+ else
+ assert(0);
if(f->tiledef_special[j].animation.type == TAT_VERTICAL_FRAMES)
f->special_tiles[j].material_flags |= MATERIAL_FLAG_ANIMATION_VERTICAL_FRAMES;
// Animation parameters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment