Parent Directory | Revision Log | Patch
revision 1.107 by reallysoft, Sun Jul 6 12:47:04 2003 UTC | revision 1.108 by ant_39, Sun Jul 6 20:51:21 2003 UTC | |
---|---|---|
# | Line 1104 world::DefineSimpleFloor(const std::stri | Line 1104 world::DefineSimpleFloor(const std::stri |
1104 | double friction, double mousefactor) | double friction, double mousefactor) |
1105 | { | { |
1106 | Register(new Floor(kind.c_str(), friction, mousefactor)); | Register(new Floor(kind.c_str(), friction, mousefactor)); |
// @@@ FIXME: the above call to new floor has a memory | ||
// problem, because the temporary 'kind.c_str()' is stored | ||
// in FloorTraits w/o making a copy. | ||
1107 | } | } |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |