diff options
Diffstat (limited to 'src/Data')
-rw-r--r-- | src/Data/Level.cpp | 6 | ||||
-rw-r--r-- | src/Data/Triangle.cpp | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/Data/Level.cpp b/src/Data/Level.cpp index 283bf66..7193f37 100644 --- a/src/Data/Level.cpp +++ b/src/Data/Level.cpp @@ -69,7 +69,7 @@ Room* Level::getRoom(const Glib::ustring &id) const { return *room; } - return NULL; + return 0; } Room* Level::addRoom(const Glib::ustring &id) { @@ -95,7 +95,7 @@ Gate* Level::getGate(const Glib::ustring &id) const { return *gate; } - return NULL; + return 0; } Gate* Level::addGate(const Glib::ustring &id) { @@ -123,7 +123,7 @@ Texture* Level::getTexture(const Glib::ustring &id) const { return *tex; } - return NULL; + return 0; } Texture* Level::addTexture(const Glib::ustring &id) { diff --git a/src/Data/Triangle.cpp b/src/Data/Triangle.cpp index a85d8ad..096081b 100644 --- a/src/Data/Triangle.cpp +++ b/src/Data/Triangle.cpp @@ -101,8 +101,8 @@ Triangle::Triangle(xmlpp::Element *node) : triangleNode(node) { vertexNodes[++i] = e; vertices[i] = loadVertex(e); - normalNodes[i] = NULL; - texCoordsNodes[i] = NULL; + normalNodes[i] = 0; + texCoordsNodes[i] = 0; } } |