CFGFLAG_SERVER | CFGFLAG_GAME
being set above, and then used the passed-in parameter to find the command. I think it'd be better to just look for CFGFLAG_GAME
and then find the command using CFGFLAG_GAME
.
Shift + Right click
be Shift + right click
or even Shift + right-click
?Shift + Right click
be Shift + right click
or even Shift + right-click
? right-click
would be the most correct one, it should also be used for the tangent handles thenfn destroy(self) {
self.a.destroy();
self.b.destroy();
}
where a and b also implement destroy(self)&mut self
?ManuallyDrop
insteadFile::close
which takes ownership of the File
ManuallyDrop
if you want to @Jupstar ✪unsafe
in handling thoughManuallyDrop
if you want to @Jupstar ✪ File::close
which takes ownership of the File
ManuallyDrop
derefs to its inner objectManuallyDrop
derefs to its inner object fn drop(x: Struct) {
// oops, implicit call to drop inserted
}
Rc
s already worksCComponent
having a pointer to it's parent and the parent having a pointer to it. Technically you can structure that in another way with a message bus and stuff, but again it's just not what I'm used to. Hard to teach an old dog new tricks CComponent
having a pointer to it's parent and the parent having a pointer to it. Technically you can structure that in another way with a message bus and stuff, but again it's just not what I'm used to. Hard to teach an old dog new tricks std::shared_ptr
for all of them.
Clear brush when creating a new map to prevent crash due to unloaded textures being used in tile layer. Closes #6935.
Also fix crash when restoring a saved brush after removing an image that is being used by it.