openbsd-ports/games/numptyphysics/patches/patch-Scene_cpp
dcoppa 3a96856ab4 Update to the latest svn snapshots:
numptyphysics -> 2010/09/16

npcomplete -> 2010/01/24

Kudos to sthen@ for mirroring the distfiles
2012-12-12 14:58:00 +00:00

20 lines
583 B
Plaintext

$OpenBSD: patch-Scene_cpp,v 1.1 2012/12/12 14:58:00 dcoppa Exp $
--- Scene.cpp.orig Wed Dec 5 17:36:54 2012
+++ Scene.cpp Wed Dec 5 17:40:03 2012
@@ -132,6 +132,7 @@ class Stroke (public)
m_attributes = 0;
m_origin = m_rawPath.point(0);
m_rawPath.translate( -m_origin );
+ m_body = NULL;
reset();
}
@@ -141,6 +142,7 @@ class Stroke (public)
m_colour = brushColours[DEFAULT_BRUSH];
m_attributes = 0;
m_origin = Vec2(400,240);
+ m_body = NULL;
reset();
const char *s = str.c_str();
while ( *s && *s!=':' && *s!='\n' ) {